import { createApp } from 'vue';
import App from './App.vue';
import router from './router';
import store from './store';
import moment from 'moment';
import Antd from 'ant-design-vue';
import './permission'
import 'ant-design-vue/dist/antd.css';
import '@/styles/main.less';
import 'nprogress/nprogress.css'
import svgIcon from "@/icons/index.vue";
moment.locale('fr');

const app = createApp(App);
app.component("svg-icon", svgIcon);
app.config.globalProperties.$moment = moment;
app.use(router).use(Antd).use(store).mount('#app');
